<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>盒子模型边框线</title>
<style>
        .box1{
        width: 200px;
        height: 200px;
        background-color: pink;
         border: 2px solid #000;   
    }
    .box2{
        width: 200px;
        height: 200px;
        background-color: pink;
        border: 2px dashed #000;
    }
    .box3{
        width: 200px;
        height: 200px;
        background-color: pink;
        border: 2px dotted #000;
    }
</style>
</head>
<body>
    <div class="box1">参数：2px solid #000 </div>
    <br>
    <div class="box2">参数：2px dashed #000 </div>
    <br>
    <div class="box3">参数：2px dotted #000 </div>
</body>
</html>